package com.fwmagic.dp._6._6_1;

public class Main {
    public static void main(String[] args) {
        //代理类
        IGamePlayer proxy = new GamePlayerProxy("小王");

        System.out.println("开始时间是:2020-01-01 09:00:00");

        proxy.login("xw","123456");
        proxy.killBoss();
        proxy.upgrade();

        System.out.println("结束时间是:2020-01-02 03:00:00");
    }
}
